import httpInstance from '@/utils/http.js'

export function getCategoryAPI (id) {
  return httpInstance({
    url: '/api/goods/category/info/',
    params:{
      id
    }
  })
}

export function getCategoryInfoAPI (id) {
  return httpInstance({
    url: `/api/goods/info/${id}/category/`,
    
  })
}


